package com.itheima.job.jobTest2;

public class Test {
    public static void main(String[] args) {
        Manager m = new Manager(9000,"张三");

        Coder c = new Coder(12000,"李四");

        Company company = new Company();
        company.paySalary(m);
        company.paySalary(c);
    }



}
